package com.yuncheng.oaApi.constant;

import java.util.ArrayList;
import java.util.List;

public class OaCommonFlowConstant {
    public final static String SUBMIT_TYPE_SAVE = "0"; //保存

    public final static String SUBMIT_TYPE_SUBMIT = "1"; //提交
    //办理状态
    public final static String BLZT_YB = "已办";
    public final static String BLZT_DB = "待办";
    public final static String BLZT_TH = "退回";

    //办理类型
    public final static String BLLX_YB = "已办";
    public final static String BLLX_DB = "待办";
    public final static String BLLX_TH = "退回";
    public final static String BLLX_BL = "办理";  // 办理类型  办理


    public final static String FLOW_SFTG = "是";//是否跳过

    // 岗位名称
    public final static String ROLE_NAME_KZ = "科室负责人";
    public final static String ROLE_NAME_JBR = "经办人";
    public final static String BGS_SP_FLOW = "办公室";
    public final static String ROLE_NAME_BGSLGFZR = "办公室离岗负责人";
    public final static String ROLE_NAME_HYAPFZR = "会议室安排负责人";
    public final static String ROLE_NAME_SFWFZR = "办公室收发文负责人";
    public final static String FZW_KZ = "科长";

    public final static String ORG_NAME_ZXZR = "中心主任";
    public final static String ORG_NAME_ZXFZR = "中心副主任";


    public final static String BLFS_DRJJ = "多人竞争"; // 多人竞争

    public final static String BLFS_DRBX = "多人并行"; // 多人并行

    public final static String BLFS_DRXX = "多人线性"; // 多人线性

    public final static String FLOW_LCJS = "流程结束"; // 流程结束
    public final static String FLOW_LCZB = "流程在办"; // 流程在办
    public final static String FLOW_LCWB = "流程未办"; // 流程未办

    // 加班
    public final static String JJRK_LX_JB = "加班";

    public final static String JJRK_LX_TX = "调休"; // 调休

    public final static String LOGS_SYS_TYPE_XG = "基本信息修改"; // 系统操作日志-类型2

    public final static String LOGS_SYS_TYPE_BC = "保存信息"; // 系统操作日志-类型3

    public final static String LOGS_SYS_TYPE_TJ = "提交信息"; // 系统操作日志-类型4

    public final static String LOGS_SYS_TYPE_SC = "删除信息"; // 系统操作日志-类型5

    public final static String LOGS_SYS_TYPE_XZ = "新增信息"; // 系统操作日志-类型6

    public final static String LOGS_SYS_TYPE_TH = "退回信息"; // 系统操作日志-类型7

    public final static String OA_FJ = "OAFJ"; // 系统操作日志-类型7

    public final static String OA_FILE_FJ = "oafj"; // OA附件-相对路径minio目录
    public final static String OA_ZW = "oazwfile"; // OA正文-相对路径minio目录

    public static String OA_FJXX_FJBCLJ = "FJBCLJ"; // 附件-保存路径


    public final static String BGYP_CK = "出库";
    public final static String BGYP_RK = "入库";
    public final static String BGYP_CSHRK = "初始化入库";


    //业务类型
    public final static String OA_LGQS = "oalgqs001";
    public final static String OA_XZSW = "oaxzswsp001";
    public final static String OA_XCXX = "oaxcxxspgl001";
    public final static String OA_SW = "oasw001";
    public final static String OA_HYSGL = "oahysgl001";
    public final static String OA_BGYP = "oabgypsqgl001";
    public final static String OA_JBZB = "oajbzbgl001";

    //通知信息
    public final static String TZ_SXMC = "OA办公"; //事项名称
    public final static String TZ_ZTWCK = "0"; //未查看
    public final static String TZ_ZTYCK = "1"; //已查看
    public final static String TZ_DQLCMYWJ = "流程在办"; //当前流程没有完结
    public final static String TZ_DQLCYWJ = "流程结束"; //当前流程已经完结

    public static String getLczt(boolean lczt){
        if (lczt){
            return TZ_DQLCYWJ;
        }
        return TZ_DQLCMYWJ;
    }

    //角色
    public final static String ROLE_NAME_ZXZY = "中心职员"; //角色名称


    //是否发起流程
    public final static String SFFQLC_YES = "是";
    public final static String SFFQLC_NO = "否";


    //企业预约登记 是否提交
    public final static String TJZT_NO = "0";
    public final static String TJZT_YES = "1";

    //企业选中咨询事项类别状态
    public final static String XZZT_NO = "0";
    public final static String XZZT_YES = "1";

    //处理状态
    public final static String CLZT_NO = "0"; //未处理
    public final static String CLZT_YES = "1"; //处理完成
    public final static String CLZT_LOAD = "2"; //处理中

    //企业回复状态
    public final static String HFZT_NO = "0";
    public final static String HFZT_YES = "1";

    //是否通过审核
    public final static String SFTGSH_NO = "0";
    public final static String SFTGSH_YES = "1";

    //提交状态




    //周日到周一
    public final static Integer WEEKDAY_ZR = 0;
    public final static Integer WEEKDAY_ZY = 1;
    public final static Integer WEEKDAY_ZE = 2;
    public final static Integer WEEKDAY_ZS = 3;
    public final static Integer WEEKDAY_ZSI = 4;
    public final static Integer WEEKDAY_ZW = 5;
    public final static Integer WEEKDAY_ZL = 6;

    //成功
    public final static Integer SUCCESS = 200;


    // 短信发送成功 - 标志
    public final static String SMS_FLAG = "成功"; // 短信发送成功


    //通知回复信息
    public final static String SMS_QYYYXX = "【广西壮族自治区食品药品审评查验中心】";

    public static String SUCCESSMSG(String fsqqymc,String fzxlxr,String fyyrq,String zxsd,String fjdhys,String fqxrq){

        return  fsqqymc + fzxlxr+"您好，您已成功预约"+ fyyrq +"（周二）现场咨询，您的咨询时段为"+ fyyrq +"（周二）"+ zxsd+"，\n" +
                "请于当日提前10分钟到南宁市青秀区云景路32号广西壮族自治区食品药品审评查验中心"+ fjdhys +"报到，\n" +
                "如不能按时前来，请提前于"+ fqxrq +"（周一）12:00前通过电话联系质量管理与科研科0771-5828621取消，\n" +
                "以免因旷影响今后预约。"+"\n"+
                "收到请与今天晚上18:00前回复[收到]，谢谢。";
    }


    public static String FILEDMSG(String fsqqymc,String fzxlxr,String fyyrq,String opinion){
        return  fsqqymc + fzxlxr+"您好，您预约的"+ fyyrq +"（周二）现场咨询审核不通过\n" +
                "原因："+ opinion +"\n";

    }

    public static String YZMMSG(String fyzm){
        return "您正在进行手机号验证操作。验证码为："+fyzm+"。如非本人操作，还请忽略。"+"\n"
                +"10分钟内有效";

    }

    //年休假
    public static String FZJYXTS = "0"; //转结已休天数
    //是否转结年休假
    public static String FSFYQLZJ_YES = "1";
    public static String FSFYQLZJ_NO = "0";

    //年休假工龄数
    public static Integer NXJ_ZDGLS = 10;

    //年休假天数
    public static String NXJ_TS = "10";
    public static String NXJ_ZDTS = "15";

    //是否发起流程
    public static String FSFFQLC_YES = "是";
    public static String FSFFQLC_NO = "否";

    //是否申请
    public static String FSFSQ_YES = "已申请";
    public static String FSFSQ_NO = "未申请";

    //部门经济分类名称
    public static String FBMJJFLMC_CLF = "差旅费";
    public static String FBMJJFLMC_LWF = "劳务费";

    public static String RJK_ORG_NAME = "人教科";
    public static String BGS_ORG_NAME = "办公室";
    public static String ZLGL_ORG_NAME = "质量管理与科研科";
    public static String YPZC_ORG_NAME = "药品注册审评查验科";
    public static String YPSC_ORG_NAME = "药品生产查验科";
    public static String YPLT_ORG_NAME = "药品流通查验科";
    public static String YLQX1K_ORG_NAME = "医疗器械审评查验1科";
    public static String YLQX2K_ORG_NAME = "医疗器械审评查验2科";
    public static String SPHZP_ORG_NAME = "食品化妆品审评查验科";

    public static List<String> allBmList(){
        List bmList = new ArrayList();
        bmList.add(RJK_ORG_NAME);
        bmList.add(BGS_ORG_NAME);
        bmList.add(ZLGL_ORG_NAME);
        bmList.add(YPZC_ORG_NAME);
        bmList.add(YPSC_ORG_NAME);
        bmList.add(YPLT_ORG_NAME);
        bmList.add(YLQX1K_ORG_NAME);
        bmList.add(YLQX2K_ORG_NAME);
        bmList.add(SPHZP_ORG_NAME);

        return bmList;
    }

    public final static String ORG_NAME_ZXZR_CODE = "zxzr";
    public final static String ORG_NAME_ZXFZR_CODE = "zxzrf";
    public final static String DEPT_NAME_ZHYWK_CODE = "zhywk";
    public final static String DEPT_NAME_BGS = "办公室";
    public final static String DEPT_NAME_BGS_CODE = "bgs";


    public final static String LGQS_SFTQXJ_YES = "是";
    public final static String LGQS_SFTQXJ_NO = "否";

    /**
     * 办公用品归还
     */
    public final static String BGYPGH_YES = "是";
    public final static String BGYPGH_NO = "否";

    /**
     * 申请附件模板
     */
    public final static String XZSWSP_SQFJMB = "申请附件模板";

    /**
     * 请休假 申请
     */
    public final static String QXJSQ_XW = "18:00";
    public final static String QXJSQ_ZW = "12:00";
    public final static String QXJSQ_SW = "08:00";

    /**
     * 销假范围判定
     */
    public final static String QXJSQ_FWXW = "17:30";
    public final static String QXJSQ_FWZW = "15:30";
    public final static String QXJSQ_FWSW = "09:00";


    /**
     * 每天的毫秒数
     */
    public final static long T_HMS = 86400000;
    public final static long T_MS = 86400;
    public final static long T_YQ = 1000;


    /**
     * 业务类型
     */
    public final static String NK = "NK";

    /**
     * 是否教劳务费
     */
    public final static String LWF_YES = "是";
    public final static String LWF_NO = "否";


    /**
     * 是否公务卡付款
     */
    public final static String SFGWKFK_YES = "是";
    public final static String SFGWKFK_NO = "否";

    /**
     * 报销单状态
     */
    public final static String BXDZT_WC = "完成";

    /**
     * 岗位名称
     */

    public final static String GWMC_CWRY= "财务人员";


    /**
     * 采购品目
     */
    public final static String CGPM_HW= "货物";
    public final static String CGPM_FW= "服务";
    public final static String CGPM_KT= "课题";


    /**
     * 是/否
     */

    public final static String YES= "是";
    public final static String NO= "否";

    /**
     * 合同状态
     */
    public final static String HTZT_WZF= "未支付";
    public final static String HTZT_YZF= "已支付";

    /**
     * 项目内容:检查/课题/印刷/培训
     */
    public final static String XMNR_JC= "检查";
    public final static String XMNR_KT= "课题";
    public final static String XMNR_YS= "印刷";
    public final static String XMNR_PX= "培训";

    /**
     * 绩效申报-绩效指标类型
     */
    public final static String JXZBLX_LWF = "劳务费";
    public final static String JXZBLX_CLF = "差旅费";
    public final static String JXZBLX_PXF = "培训费";
    public final static String JXZBLX_YSF = "印刷费";
    public final static String JXZBLX_KTF = "课题费";
    public final static String JXZBLX_JXZB = "绩效指标";

    /**
     * 预算设备合计表单类型
     */
    public final static String HZBD_HZ = "汇总";
    public final static String HZBD_YS = "一上";
    public final static String HZBD_ES = "二上";

    /**
     * 预算申报计划状态
     */
    public final static String YSSBJH_JHZ = "汇总";
    public final static String YSSBJH_JHWC = "计划完成";


    /**
     * 预算申报项目实施单位
     */
    public final static String YSSB_XMSSDW = "广西壮族自治区食品药品审评查验中心";
    public final static String YSSB_XMZGDW = "405-广西壮族自治区药品监督管理局";

    public final static String YSSB_XMSX = "2-经常性项目";
    public final static String YSSB_ZJLY = "一般公共预算拨款";


    /**
     * 年度是否选择
     */
    public final static String NDXZ_YES = "是";
    public final static String NDXZ_NO = "否";


    /**
     * 预算申报 汇总类型
     */
    public final static String HZLX_JC = "检查";
    public final static String HZLX_KT = "课题";
    public final static String HZLX_YS = "印刷";
    public final static String HZLX_PX = "培训";


    /**
     * 一级指标类型
     */
    public final static String YJZB_CCZB = "产出指标";
    public final static String YJZB_XYZB = "效益指标";
    public final static String YJZB_MYDZB = "满意度指标";

    /**
     * 二级指标类型
     */
    public final static String EJZB_SLZB = "数量指标";
    public final static String EJZB_ZLZB = "质量指标";
    public final static String EJZB_SXZB = "时效指标";
    public final static String EJZB_CBZB = "成本指标";

    public final static String EJZB_SHXYZB = "社会效益指标";
    public final static String EJZB_KCXYSZB = "可持续影响指标";

    public final static String EJZB_FWDXMYDZB = "服务对象满意度指标";


}
